read_and_insert_process_output: Insert before markers
authorDmitry Gutov <dmitry@gutov.dev>
Tue, 11 Jun 2024 18:02:57 +0000 (21:02 +0300)
committerDmitry Gutov <dmitry@gutov.dev>
Tue, 11 Jun 2024 18:03:19 +0000 (21:03 +0300)
commit3199b8584e4583a4b74263f5704a21c3431658c2
tree408c630a251d4865c83bd48af0d22ba94807eee3
parent5ecff95993d5edbffb27e14c2815d2b23003bcb4
read_and_insert_process_output: Insert before markers

* src/insdel.c (adjust_markers_for_insert): Make non-static.

* src/lisp.h: Add declaration for it.

* src/process.c (read_and_insert_process_output): Use it here.
And also call insert_1_both with BEFORE_MARKERS=t, for
compatibility with internal-default-process-filter (bug#66020).
src/insdel.c
src/lisp.h
src/process.c